<?php
return array(
    'URL_MODEL'                 =>  2, // 如果你的环境不支持PATHINFO 请设置为3
    'DB_TYPE'                   =>  'mysql',
    'DB_HOST'                   =>  'localhost',
    'DB_NAME'                   =>  'eshop',
    'DB_USER'                   =>  'root',
    'DB_PWD'                    =>  'qp2624521',
    'DB_PORT'                   =>  '3306',
    'DB_PREFIX'                 =>  'e_',
    'APP_AUTOLOAD_PATH'         =>  '@.TagLib',
    'APP_GROUP_LIST'            =>  'Shop,Admin',
    'DEFAULT_GROUP'             =>  'Shop',
    'APP_GROUP_MODE'            =>  1,
    'SHOW_PAGE_TRACE'           =>  1,//显示调试信息
	'URL_ROUTER_ON'   => true, //开启路由
	'URL_ROUTE_RULES' => array( //定义路由规则
			'c' => array('Shop/List/index', 'cid=14'),
			'item/:id' => array('Shop/Goods/item'),
			'a'=>array('Admin/Mayijie/login'),
			'my'=>array('Shop/Member/index'),
	),
	//分页配置
	'PAGE'=>array('theme'=>'<span class="total">共<span style="color:#cc0000">%nowPage%</span>/%totalPage%页</span> %upPage% %linkPage% %downPage% %ajax%'),
	'PAGE2'=>array('theme'=>'%nowPage%/%totalPage% %upPage% %downPage% %ajax%'),
	'PAGE_SIZE'=>8,
	'COMMENT_PAGE_SIZE'=>8,
	'LIST_PAGE_SIZE'=>4,
	'WEB_NAME'=>'蚂蚁街-mayijie.com',
	'ICP_CODE'=>'鲁ICP备13019765号',
	'KEFU_QQ'=>'457178642',
	'KEFU_TEL'=>'0533-866666',
	'CART_COOKIE'=>'86200',
	'WEB_HOST'=>'mayijie.com',
	//'SESSION_TYPE'=>'DB',
	//邮件配置
	'THINK_EMAIL' => array(
		'SMTP_HOST'=>'smtp.163.com', //SMTP服务器
		'SMTP_PORT'=>'25', //SMTP服务器端口
		'SMTP_USER'=>'lxsy01@163.com', //SMTP服务器用户名
		'SMTP_PASS'=>'2624521', //SMTP服务器密码
		'FROM_EMAIL'=>'lxsy01@163.com', //发件人EMAIL
		'FROM_NAME'=>'蚂蚁街', //发件人名称
		'REPLY_EMAIL' => '', //回复EMAIL（留空则为发件人EMAIL）
		'REPLY_NAME'  => '', //回复名称（留空则为发件人名称）
    ),
	'SMS_OPEN'=>1,
	'SMS_NAME'=>'',
	'SMS_PWD'=>'',
	'EMAIL_REG'=>'1',  //注册邮件提醒
	'EMAIL_CREATE_ORDER'=>'1',//提交订单提醒
	'EMAIL_PAY'=>'1',//支付完成提醒
	'EMAIL_SHIP'=>'1',//订单发货提醒

	'TENPAY_CONFIG'=>array(
	            "spname"=>"蚂蚁街",
				"partner" => "1217638001",
                "key" => "318c52d4cc4bfbb5f37c5665debe182b",
                "return_url" => "http://www.mayijie.com/Pay/tenpay_result",
				"notify_url" => "http://www.mayijie.com/Pay/tenpay_do_result",
   ),

   'ALIPAY_CONFIG'=>array(
			   'alipay_account' => "ceo@mayijie.com",
			   'partner' => "2088111845421728",
			   'key'       => "ouxlxs1onu4e9ehcmmeb5vyw9en8sl4z",
			   'sign_type' => strtoupper('MD5'),
			   'input_charset' => strtolower('utf-8'),
			   'cacert' => getcwd().'\\22d1c3a4c7b1fd13e90fe8470f711a1f\\cacert.pem',
			   'transport' => "http",
			   "return_url" => "http://127.0.0.1/eshop/Pay/alipay_result",
               "notify_url" => "http://127.0.0.1/eshop/Pay/alipay_do_result"
   ),



);
?>